package com.onesports.intelligent.k12.polarlight.domain.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.Date;
import java.util.List;


/**
 * 根据id查询订单信息
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "根据id查询订单信息")
public class OrderByIdVO {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "订单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

    @ApiModelProperty(value = "支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @ApiModelProperty(value = "应付金额(元)")
    private String orderAmount;

    @ApiModelProperty(value = "优惠金额（元）")
    private BigDecimal discountAmount;

    @ApiModelProperty(value = "实付金额(元)")
    private BigDecimal actuallyAmount;

    @ApiModelProperty(value = "会员")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String contactPhone;

    @ApiModelProperty(value = "支付类型(1:微信支付，2：线下支付，3：余额)")
    private String payType;

    @ApiModelProperty(value = "订单状态 1-待付款;2-已付款;3-已取消")
    private String orderStatus;

    @ApiModelProperty(value = "运营团队")
    private String organizationName;

    @ApiModelProperty(value = "校区")
    private String campusName;

    @ApiModelProperty(value = "商品")
    private String productName;

    @ApiModelProperty(value = "课程")
    private String courseName;

    @ApiModelProperty(value = "教练")
    private String staffName;

    @ApiModelProperty(value = "团长")
    private String principal;

    @ApiModelProperty(value = "团长分佣（元）")
    private BigDecimal headSubLedger;

    @ApiModelProperty(value = "教练分账（元）")
    private BigDecimal coachSubLedger;

    @ApiModelProperty(value = "上课日期")
    private String courseDate;

    @ApiModelProperty(value = "方式：1按星期  2：按日期")
    private String courseType;

    @ApiModelProperty(value = "按星期/日期")
    private String[] weekCode;

    @ApiModelProperty(value = "日期")
    private List<String> courseTime;

//    @ApiModelProperty(value = "按星期/日期")
//    private String[] weekCode;

    @ApiModelProperty(value = "上课时段")
    private String classTime;

    @ApiModelProperty(value = "课时（节）")
    private String num;

    @ApiModelProperty(value = "等级")
    private Integer evaluationLevel;

    @ApiModelProperty(value = "评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "评价")
    private String content;

}
